package com.tubang.logistics.service;

import com.baomidou.mybatisplus.service.IService;
import com.tubang.logistics.entity.LogisticsOrderEntity;
import com.tubang.logistics.vo.ChangeStatusVo;
import com.tubang.logistics.vo.OrderBiddingVo;
import com.tubang.logistics.vo.OrderDispatchVo;

import java.util.List;

/**
 * <p>
 * 物流公司运单 服务类
 * </p>
 *
 * @author wsl
 * @since 2017-12-31
 */
public interface ILogisticsOrderService extends IService<LogisticsOrderEntity> {

    void creatLogisticsOrder(OrderDispatchVo orderDispatchVo);

    void creatLogisticsOrder(OrderBiddingVo platformOrderBiddingVo);

    void updatelogisticsOrderStatus(List<String> orderIds, String status, String statusCodeDesc);


    /**
     * 竞价 数据   此时用户id   cid
     *
     * @param platformOrderBiddingVo
     */
    void creatLogisticsConfirmOrder(OrderBiddingVo platformOrderBiddingVo);

    void updateplatformOrderStatus(ChangeStatusVo changeStatusVo);

    /**
     * 物流公司--->物流公司
     *
     * @param platformOrderBiddingVo
     */
    void creatLogisticsOrderLTOL(OrderBiddingVo platformOrderBiddingVo);

    void updateSupplyOrderStatus(ChangeStatusVo changeStatusVo);

    void updateLogisticsOrderStatusTspByGoodsIds(List<String> goodsIdlist, String status, String statusCode);

    void updateLogisticsOrderStatusAdmByGoodsIds(List<String> goodsIdlist, String status, String statusCode);

    void orderRobackStatuscode(LogisticsOrderEntity logisticsOrderEntity);
}
